package org.yenn.pattern.decorator;

/**
 * @Author: yerenyun
 * @Description: 4 decorator object
 */
public class Egg extends Decorator{
    public Egg(IDrink drink) {
        super(drink);
    }

    @Override
    public double money() {
        return super.money()+3.2;
    }

    @Override
    public String desc() {
        return super.desc()+"+鸡蛋";
    }
}
